package com.ts.api.module.api.entity.bo;

/**
 *  API-H5-回调业务实体
 *  @author Pan
 */
public class H5CallbackExistBO {

    /** 手机md5 */
    private String applyId;
    /** 渠道id */
    private String clientId;

    /** 用户是否接受 */
    private boolean hasCallUserAccept;
    /** 用户是否进入页面 */
    private boolean hasCallUserInto;

    public H5CallbackExistBO() {
        super();
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public boolean hasCallUserAccept() {
        return hasCallUserAccept;
    }

    public void setHasCallUserAccept(boolean hasCallUserAccept) {
        this.hasCallUserAccept = hasCallUserAccept;
    }

    public boolean hasCallUserInto() {
        return hasCallUserInto;
    }

    public void setHasCallUserInto(boolean hasCallUserInto) {
        this.hasCallUserInto = hasCallUserInto;
    }

    /**
     *  构建
     *
     *  @param  applyId
     *  @param  clientId
     *  @return ApiCallbackExistBO
     */
    public static H5CallbackExistBO create(String applyId, String clientId) {
        H5CallbackExistBO orgBO = new H5CallbackExistBO();
        orgBO.setApplyId(applyId);
        orgBO.setClientId(clientId);
        return orgBO;
    }
}
